//
//  SurfacePicker.h
//  YaoHeAPP
//
//  Created by mac on 16/1/25.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SurfacePicker : UIView<UIPickerViewDataSource,UIPickerViewDelegate,UIGestureRecognizerDelegate>
{
    UIPickerView  *_pickerView;
    UIView *_bgView;
    NSString*_stringRow;//将选中字符串拼接成完整的一个字
    NSMutableArray*_hoursArray;//小时数组
    NSMutableArray*_minutesArray;//分钟数组
    NSString*str1;
    NSString*str2;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);
@property (nonatomic, strong) NSString *titleStr;
@property(nonatomic,strong)NSArray*dataArray;
@property (nonatomic, copy)NSString *pickData;
@property(nonatomic,assign)BOOL  _YESORNO;

//大小
- (id)initWithFrame:(CGRect)frame;
//展示选择器
+(void)showPickerView:(UIView *)selfView withdataUrl:(NSString*)url withTitle:(NSString *)titleString  andSelectBlock:(void (^)(NSString *))selectRow;

@end





